package com.rytx.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rytx.common.annotation.Excel;
import com.rytx.common.core.domain.BaseEntity;

/**
 * 售后订单对象 art_order_after
 * 
 * @author rytx
 * @date 2024-08-29
 */
public class ArtOrderAfter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 系统订单号 */
    @Excel(name = "系统订单号")
    private String platOrderNo;

    /** 订单商品id */
    @Excel(name = "订单商品id")
    private Long orderGoodsId;

    /** 售后单号 */
    @Excel(name = "售后单号")
    private String platAfterNo;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 售后类型 */
    @Excel(name = "售后类型")
    private Long afterType;

    /** 售后数量 */
    @Excel(name = "售后数量")
    private Integer afterNum;

    /** 售后原因 */
    @Excel(name = "售后原因")
    private String explain;

    /** 售后状态 */
    @Excel(name = "售后状态")
    private Long status;

    /** 定时任务处理中标记 0为处理 1处理中 */
    private String inProgress;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private String refundMoney;

    /** 追缴订单编号 */
    @Excel(name = "追缴订单编号")
    private String recoveryOrderNo;

    /** 快递公司编号 */
    @Excel(name = "快递公司编号")
    private String com;

    /** 运单号 */
    @Excel(name = "运单号")
    private String nu;

    /** 退款状态 */
    @Excel(name = "退款状态")
    private Long refundStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String opinion;
    private String logisticsUrl;//物流运单图片 logistics_url
    private String compensationAmount;//补偿金额 compensation_amount

    public String getCompensationAmount() {
        return compensationAmount;
    }

    public void setCompensationAmount(String compensationAmount) {
        this.compensationAmount = compensationAmount;
    }

    public String getLogisticsUrl() {
        return logisticsUrl;
    }

    public void setLogisticsUrl(String logisticsUrl) {
        this.logisticsUrl = logisticsUrl;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setPlatOrderNo(String platOrderNo) 
    {
        this.platOrderNo = platOrderNo;
    }

    public String getPlatOrderNo() 
    {
        return platOrderNo;
    }
    public void setOrderGoodsId(Long orderGoodsId)
    {
        this.orderGoodsId = orderGoodsId;
    }

    public Long getOrderGoodsId()
    {
        return orderGoodsId;
    }
    public void setPlatAfterNo(String platAfterNo) 
    {
        this.platAfterNo = platAfterNo;
    }

    public String getPlatAfterNo() 
    {
        return platAfterNo;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAfterType(Long afterType) 
    {
        this.afterType = afterType;
    }

    public Long getAfterType() 
    {
        return afterType;
    }
    public void setAfterNum(Integer afterNum)
    {
        this.afterNum = afterNum;
    }

    public Integer getAfterNum()
    {
        return afterNum;
    }
    public void setExplain(String explain) 
    {
        this.explain = explain;
    }

    public String getExplain() 
    {
        return explain;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setInProgress(String inProgress) 
    {
        this.inProgress = inProgress;
    }

    public String getInProgress() 
    {
        return inProgress;
    }
    public void setRefundMoney(String refundMoney) 
    {
        this.refundMoney = refundMoney;
    }

    public String getRefundMoney() 
    {
        return refundMoney;
    }
    public void setRecoveryOrderNo(String recoveryOrderNo) 
    {
        this.recoveryOrderNo = recoveryOrderNo;
    }

    public String getRecoveryOrderNo() 
    {
        return recoveryOrderNo;
    }
    public void setCom(String com) 
    {
        this.com = com;
    }

    public String getCom() 
    {
        return com;
    }
    public void setNu(String nu) 
    {
        this.nu = nu;
    }

    public String getNu() 
    {
        return nu;
    }
    public void setRefundStatus(Long refundStatus) 
    {
        this.refundStatus = refundStatus;
    }

    public Long getRefundStatus() 
    {
        return refundStatus;
    }
    public void setOpinion(String opinion) 
    {
        this.opinion = opinion;
    }

    public String getOpinion() 
    {
        return opinion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("platOrderNo", getPlatOrderNo())
            .append("orderGoodsId", getOrderGoodsId())
            .append("platAfterNo", getPlatAfterNo())
            .append("userId", getUserId())
            .append("afterType", getAfterType())
            .append("afterNum", getAfterNum())
            .append("explain", getExplain())
            .append("status", getStatus())
            .append("inProgress", getInProgress())
            .append("refundMoney", getRefundMoney())
            .append("recoveryOrderNo", getRecoveryOrderNo())
            .append("com", getCom())
            .append("nu", getNu())
            .append("refundStatus", getRefundStatus())
            .append("opinion", getOpinion())
            .toString();
    }
}
